package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bob
 * @since 2025-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TProdstat对象", description="工序统计表(经营数据/流水)")
public class TProdstat implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "生产任务id")
    private Integer pid;

    @ApiModelProperty(value = "状态（0-未排产，1-已排产,2-生产中，3-已完成）")
    private Integer stat;

    @ApiModelProperty(value = "工序代号")
    private String bn;

    @ApiModelProperty(value = "工序名称")
    private String na;

    @ApiModelProperty(value = "工序描述")
    private String remark;

    @ApiModelProperty(value = "日产量")
    private Double outph;

    @ApiModelProperty(value = "工资定额")
    private Double pcwg;

    @ApiModelProperty(value = "员工id")
    private Integer eid;

    @ApiModelProperty(value = "员工姓名")
    private String ena;

    @ApiModelProperty(value = "能耗")
    private Double ec;

    @ApiModelProperty(value = "环保费用")
    private Double ep;

    @ApiModelProperty(value = "工装编号")
    private String tlbn;

    @ApiModelProperty(value = "工装次折旧")
    private Double tldepr;

    @ApiModelProperty(value = "设备编号")
    private String eqbn;

    @ApiModelProperty(value = "场所编码")
    private String sbn;

    @ApiModelProperty(value = "日租金")
    private Double rt;

    @ApiModelProperty(value = "计划数量")
    private Double pqt;

    @ApiModelProperty(value = "不合格数")
    private Double nqt;

    @ApiModelProperty(value = "合格数")
    private Double qqt;

    @ApiModelProperty(value = "开始日期")
    private Date psdate;

    @ApiModelProperty(value = "结束日期")
    private Date pedate;

    @ApiModelProperty(value = "录入人")
    private Long guid;

    @ApiModelProperty(value = "设备日折旧")
    private Double depr;

    private String pbn;//产品编码

    private Integer oid;//所属部门id
}
